home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / emacs / cpp / Makefile < prev   
Makefile  |  1987-03-02  |  539b  |  21 lines

  1. # Makefile for cccp in the Emacs distribution only.
  2. # Here we assume that you are using sys V.0
  3. # (since cccp is used by Emacs only to deal with shortnames lossage).
  4. # Therefore, we add -DEMACS to CFLAGS and add -lPW to linking.
  5.  
  6. CFLAGS=-g -I. -DEMACS
  7. cpp: cccp
  8.     -rm cpp
  9.     ln cccp cpp
  10. cccp: cccp.o y.tab.o
  11.     cc -o cccp -g cccp.o y.tab.o -lPW
  12. testexp: y.tab.c
  13.     cc -g -DTEST_EXP_READER y.tab.c -o testexp
  14. y.tab.c: cexp.y
  15.     echo expect 40 shift/reduce conflicts
  16.     yacc cexp.y
  17. cccp.o: cccp.c
  18. y.tab.o: y.tab.c
  19. lint:    y.tab.c
  20.     lint -p y.tab.c cccp.c
  21.